<script>
export default {
  name: "P500",
  methods:{
    goHome(){
      this.$router.push("/work");
    },
    refreshPage(){
      this.$router.go(0);
    }
  }
}
</script>

<template>
  <lay-exception status="500" title="500" describe="服务器发生错误">
    <template #extra>
      <lay-button @click="refreshPage">刷新</lay-button>
      <lay-button type="primary" @click="goHome">返回</lay-button>
    </template>
  </lay-exception>
</template>

<style scoped>

</style>